<!-- Search form -->
<?php
if ($displayInMainWindowIcon !== FALSE) {
    echo '<a href="' . $_SERVER['REQUEST_URI'] . '" title="' . text::getEscaped('application.popupToMainWindow') . '" class="popupToMainWindow">';
    echo html::img('popupToMainWindow.png');
    echo '</a>';
}

$mainSubview->render(true);